package net.ibizsys.paas;

import net.ibizsys.paas.util.StringHelper;

/**
 * Runtime 版本信息
 * @author Administrator
 *
 * ver 5.0.1007.21
 * (1) 添加了表格行编辑能力
 *  
 */
public class Version
{
	public final static Integer MAJOR = 5;
	public final static Integer MINOR = 0;
	public final static Integer DATE = 1007;
	public final static Integer BUILD = 21;
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	public String toString()
	{
		return StringHelper.format("%1$s.%2$s.%3$s",MAJOR,MINOR,BUILD);
	}
	
	/**
	 * 输出版本字符串
	 * @return
	 */
	public static String toVersionString()
	{
		return StringHelper.format("%1$s.%2$s.%3$s",MAJOR,MINOR,BUILD);
	}
}
